<?php
/**
 * Created by PhpStorm.
 * BuyUser: USER
 * Date: 2018/11/12
 * Time: 10:56
 */
namespace common\sources\read\buyuser;

interface IBuyUserAccess
{
    /**
     * 根据手机号码
     * @param $phone
     * @return mixed
     * @author Txl
    **/
    public function getBuyUser($phone);
    /**
     * 根据手机号码获取用户信息
     * @param $phone
     * @return mixed
     * @author Txl
    */
    public function getBuyUserByPhone($phone);
    /**
     * 获取用户详情 更加用户id
     * @param $buy_Id
     * @return mixed
     * @author Txl
    */
    public function getBuyUserInfo($buy_Id);
    /**
     * 获取邀请人数
     * @param $data
     * @return mixed
     * @author Txl
    **/
    public function getInviteCount($data);
    /**
     * 一个月内邀请人数
     * @param $data
     * @return mixed
     * @author Txl
    **/
    public function getInviteMonthCount($data);

    /**
     * 获取买手邀请数量
     * @param $data
     * @return  mixed
     * @author Txl
    ***/
    public function getChildrentCount($data);
    /**
     * 获取买手邀请
     * @param $data
     * @return mixed
     * @author Txl
    ***/
    public function getChildrens($data);

    /**
     * 获取邀请人
     * @param $data
     * @return mixed
     * @author Txl
    **/
    public function getInviters($data);
}